﻿using System;
using Nop.Web.Framework.Mvc;
using System.Collections.Generic;
using System.Web.Mvc;

namespace Nop.Admin.Models.Coffee
{
    public partial class RecipeModel : BaseNopEntityModel
    {

        public RecipeModel()
        {
            RecipeBlends = new List<RecipeBlendModel>();
            AvailableBlends = new List<SelectListItem>();
        }

        public string Name { get; set; }
        public bool IsActive { get; set; }
        public RecipeBlendModel RecipeBlend { get; set; }

        public List<RecipeBlendModel> RecipeBlends { get; set; }
        public IList<SelectListItem> AvailableBlends { get; set; }

        public partial class RecipeBlendModel : BaseNopModel
        {
            public int Id { get; set; }
            public int RecipeId { get; set; }
            public int BlendId { get; set; }
            public int PercentOfRecipe { get; set; }
            public string Notes { get; set; }
            public int FinishTemperature { get; set; }

            public virtual RecipeModel Recipe { get; set; }
            public virtual BlendModel Blend { get; set; }
        }

    }
}